﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Utilities;
using StockImport.dataimport.basicdata;
using StockImport.dataimport.otc.dailyindex;
using StockImport.http;
using CommonUI;

namespace TestForm
{

    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            //MopsBasicDataUpdater updater = new MopsBasicDataUpdater();
            //updater.Update(true);
            //OTC_DailyIndexImport imp2 = new OTC_DailyIndexImport();
            //imp2.update(DateTime.Now, false);
            
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void dockPanel2_Click(object sender, EventArgs e)
        {

        }

        private void menuItem3_Click(object sender, EventArgs e)
        {
            VacationInputControl vc = new VacationInputControl();
            documentManager1.View.AddDocument(vc);
            

        }

        private void menuItem4_Click(object sender, EventArgs e)
        {

        }

        private void menuItem5_Click(object sender, EventArgs e)
        {
            ImportTaskInvokeControl ctrl = new ImportTaskInvokeControl();
            documentManager1.View.AddDocument(ctrl);
        }
    }
    [Serializable]
    public class LogData
    {
        public String Info { get; set; }
        public List<String> ss = new List<string>();
    }
}
